<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<style>
    .product-list {

    }

    .product-list .product-group {
        width: 100%;
        height: 34px;
        margin-top: 5px;
    }

    .product-list .product-group * {
        float: left;
        display: inline-block;
        height: 34px;
        line-height: 34px;
    }

    .product-list .product-group span {
        width: 30%;
    }


    .product-list .product-group input {
        width: 30%;
        margin-left: 3px;
    }


    .product-list .product-group i {
        width: 40px;
        cursor: pointer;
        text-align: center;
    }


</style>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                经销商：
                                <span style="color: #e7262a">*</span>
                            </label>
                            <div class="col-sm-6">
                                <input id="agentId" name="agentId" type="hidden">
                                <input id="agentName" class="form-control" type="text" required placeholder="经销商（必填）"
                                       readonly>
                            </div>
                            <a class="btn btn-primary col-sm-2" option="agentSelect">选择经销商</a>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                联系人：
                                <span style="color: #e7262a">*</span>
                            </label>
                            <div class="col-sm-8">
                                <input id="linkman" name="linkman" class="form-control" type="text" required
                                       placeholder="联系人（必填）">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                电话：
                                <span style="color: #e7262a">*</span>
                            </label>
                            <div class="col-sm-8">
                                <input id="tel" name="tel" class="form-control" type="tel" required
                                       placeholder="联系电话（必填）">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                收货地址：
                                <span style="color: #e7262a">*</span>
                            </label>
                            <div class="col-sm-8">
                                <input id="deliverAddress" name="deliverAddress" class="form-control" type="text"
                                       required placeholder="收货地址（必填）">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                发货时间：
                                <span style="color: #e7262a">*</span>
                            </label>
                            <div class="col-sm-8">
                                <input id="deliverDate" name="deliverDate" class="form-control" type="date"
                                        placeholder="发货时间（必填）">
                            </div>
                        </div>
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-3 control-label">-->
                                <!--批号：-->
                                <!--<span style="color: #e7262a">*</span>-->
                            <!--</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--<input id="code" name="code" class="form-control" type="text"-->
                                       <!--required placeholder="批号（必填）">-->
                            <!--</div>-->
                        <!--</div>-->

                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-3 control-label">-->
                                <!--物流公司：-->
                                <!--<span style="color: #e7262a">*</span>-->
                            <!--</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--<input id="logistics" name="logistics" class="form-control" type="text"-->
                                       <!--required placeholder="物流公司（必填）">-->
                            <!--</div>-->
                        <!--</div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">物流公司：</label>
                            <div class="col-sm-8">
                                <select class="form-control" id="logisticsId" name="logisticsId">

                                </select>
                            </div>
                        </div>
                        <!--<div class="form-group">-->
                            <!--<label class="col-sm-3 control-label">物流公司：</label>-->
                            <!--<div class="col-sm-8">-->
                                <!--<select class="form-control" id="deliverDate" name="deliverDate">-->

                                <!--</select>-->
                            <!--</div>-->
                        <!--</div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                产品：
                                <span style="color: #e7262a">*</span>
                            </label>
                            <div class="col-sm-8 product-list">
                                <div>
                                    <a class="btn btn-primary" option="productSelect">
                                        <i class="fa fa-plus"></i>
                                        <span>添加产品</span>
                                    </a>
                                </div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注：</label>
                            <div class="col-sm-8">
                                <input name="remark" class="form-control" type="text" placeholder="备注">
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/invoice/add.js}" src="/static/js/appjs/invoice/add.js">
</script>
</body>
</html>
